package Day08.demo4;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

/**
 * @author chihb
 * @create-time 2024/7/4 22:49
 * @description
 */
public class Test {
    public static void main(String[] args) throws IOException {
        Scanner sc=new Scanner(System.in);
//        String path=sc.next();
//        File f=new File(path);
//        if (f.exists()){
//            System.out.println("文件已经存在");
//        }else {
//            System.out.println("文件不存在，现在重新创建");
//            f.createNewFile();
//        }
        String dePath=sc.next();
        File f2=new File(dePath);
//        f2.delete();
        System.out.println(f2.length());
    }
}
